#!/usr/bin/env node

const cp = require('child_process');

console.log(`I am father process.PID:${process.pid}`);

cp.execFile('node',['./03-child.js'],(err,stdout,error) => {

  if(error){
    console.error(err.toString('utf8'));
  }else{
    console.log(stdout.toString('utf8'));
  }
});

